package it.paybay.ipay;

import static it.paybay.ipay.constant.PrintMessages.PERFORM_CREDIT;

import org.springframework.batch.core.StepContribution;
import org.springframework.batch.core.scope.context.ChunkContext;
import org.springframework.batch.core.step.tasklet.Tasklet;
import org.springframework.batch.repeat.RepeatStatus;

public class PerformCreditTasklet implements Tasklet{

	public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
		System.out.print(PERFORM_CREDIT.getMessage());
        return RepeatStatus.FINISHED;
	}
}
